package com.platform.common.core.config;

import org.mapstruct.factory.Mappers;

import java.util.List;

public interface BaseMapping <T,E>{
    BaseMapping INSTANCE = Mappers.getMapper(BaseMapping.class);
    E toVO(T t);
    List<E> toVOList(List<T> list);

}
